import time
from page.login import LoginPage

class Mylogin():
    def __init__(self, driver):
        self.driver = driver
        self.Plogin = LoginPage(self.driver)

    def login(self, name, passwd):
        self.Plogin.loginEnterButtonClick
        self.Plogin.username(name)
        self.Plogin.password(passwd)
        self.Plogin.clickLogin
        time.sleep(5)





            
            


            
    